package com.ruoyi.thread.entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

// 用户实体
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Long id;
    private String username;
    private String email;
    private String phone;
    private Integer age;
    private String address;
    private LocalDateTime createTime;
    private UserStatus status;
    
    public enum UserStatus {
        ACTIVE, INACTIVE, FROZEN
    }
}














